﻿using System;
using System.Runtime.Serialization;

using NXDO.Data;
using NXDO.Data.Attribute;

#region 代码说明
/*
 *******************************************************
 *       此段代码由 NXDO.Addin For VS2022 产生  
 *******************************************************
 * File Name:	FileExport.cs
 * Date Time:	2024/12/27 9:54:58
 * OS User:		hippo
 * Anthor:	ITKing(ZhuQi) javasuki@hotmail.com
 * Blog:		http://blog.csdn.net/javasuki
 * Generator:	NXDO.Addin2022 For VisualStudio2022
 * Version:		4.0.60.0
 * -----------------------------------------------------
 */
#endregion


namespace TDM.DbData.DataEntity
{

    /// <summary>
    /// 导出Pack记录
    /// </summary>
    [Table]
    public class DataExport : Entity
    {
        [Title("ExportID")]
        [DataMember]
        [Field(FieldFlag.IsKey | FieldFlag.IsAutoValue)]
        public virtual long ExportID
        {
            get;
            set;
        }

        /// <summary>
        /// 导出时间
        /// </summary>
        [Title("ExportTime")]
        [DataMember]
        [Field]
        public virtual DateTime ExportTime
        {
            get;
            set;
        }

        /// <summary>
        /// 上次导出时间
        /// </summary>
        [Title("LastExportTime")]
        [DataMember]
        [Field]
        public virtual DateTime? LastExportTime
        {
            get;
            set;
        }

        /// <summary>
        /// 导出类型:0-全量;1-增量
        /// </summary>
        [Title("ExportType")]
        [DataMember]
        [Field]
        public virtual int? ExportType
        {
            get;
            set;
        }

        /// <summary>
        /// 代表室
        /// </summary>
        [Title("RepOffice")]
        [DataMember]
        [Field]
        public virtual string RepOffice
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        [Title("ConID")]
        [DataMember]
        [Field]
        public virtual long? ConID
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        [Title("ConName")]
        [DataMember]
        [Field]
        public virtual string ConName
        {
            get;
            set;
        }

        /// <summary>
        /// 文件保存路径
        /// </summary>
        [Title("FilePath")]
        [DataMember]
        [Field]
        public virtual string FilePath
        {
            get;
            set;
        }

        /// <summary>
        /// 文件名
        /// </summary>
        [Title("FileName")]
        [DataMember]
        [Field]
        public virtual string FileName
        {
            get;
            set;
        }
    }
}
